.battle-view {
  background-image: url(../../img/battle/detail-di.png?v=20181201);
  background-size: cover;
}

.detail-top {
  height: 10%;
  line-height: 3rem;
  position: relative;
  .detail-top-bg {
    position: absolute;
    left: 0;
    top: 0;
  }
  .detail-top-header {
    width: 3.5rem;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: .5rem;
    margin-top: .2rem;
  }
}


.detail-middle {
  .watch-code-top {
    height: .5rem;
  }
  &.noTop {
    height: 88%;
    .battle-item {
      margin-top: .3rem;
    }
  }
  height: 79%;
  .content {
    width: 94%;
    margin: auto;
    height: 100%;
    border-radius: .5rem;
    border: 0.5px solid #2685ca;
    .header {
      height: 10%;
      position: relative;
      .pure-u-1-3 {
        position: relative;
        // background: linear-gradient(to bottom, rgba(164,175,181,0.2), rgba(0,48,79,0.2), rgba(164,175,181,0.2));
        // background: linear-gradient(to bottom, #a4afb5, #00304f, #a4afb5);
        // background-image: url(../../img/battle/header-top-gredient.png?v=20181201);
        // background-size: contain;
      }
      .label {
        width: 100%;
      }
    }
    .info {
      height: 88%;
      width: 95%;
      margin: auto;
      overflow-y: auto;
      overflow-x: hidden;
      margin-top: 2%;
    }
  }
  .ingredient {
    background-image: url(../../img/battle/header-top-gredient.png?v=20181201);
    background-size: contain;
  }
  .left-radius {
    border-top-left-radius: .5rem;
  }
  .right-radius {
    border-top-right-radius: .5rem;
  }
}

.battle-item {
  // width: 100%;
  position: relative;
  margin-bottom: .3rem;
  background-image: url(../../img/battle/sss-rect.png?v=20181201);
  background-size: cover;
  border-radius: 1rem;
  border: 1px solid #0a64a6;
  .replay-content-top {
    font-size: .8rem;
    height: 2rem;
    line-height: 2rem;
    padding: 0 .2rem;
  }
  .battle-content-top {
    font-size: .8rem;
    height: 1.6rem;
    line-height: 1.6rem;
    margin-top: .4rem;
    .replay {
      width: 24%;
    }
    .roomNo {
      width: 4.5rem;
    }
    .roomNumber {
      width: 1rem;
      height: 1.4rem;
    }
  }
  .battle-content-middle{
    // height: 5rem;
    .box {
      margin-top: .3rem;
    }
    .point-show {
      background: rgba(0, 0, 0, .28);
      border-radius: .4rem;
      width: 95%;
      margin: auto;
      line-height: 2rem;
      height: 2rem;
      display: flex;
    justify-content: space-between;
    position: relative;
      .mlr-3 {
        width: 80%;
      }
    }
  }
  .battle-content-bottom{
    font-size: .8rem;
    height: 2rem;
    line-height: 2rem;
    margin-top: .5rem;
  }
  .middle-img {
    img {
      vertical-align: text-bottom;
    }
  }
}

.replay {
  width: 3.6rem;
  margin-left: 1rem;
}

.record-orange {
  color: #ffcb30;
}

.record-green {
  color: #00ff0c;
}

.empty-tip {
  text-align: center;
  line-height: 5rem;
  font-size: 1.3rem;
}

.white-text {
  color: #fff;
}

.round-game-top {
  height: 1%;
}

.round-game-middle {
  height: 89%;
  .info {
    height: 97% !important;
  }
}

.zhuang-icon {
  width: 1.1rem;
  vertical-align: middle;
  margin-right: .6rem;
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: -4px;
  left: -4px;
  img {
    width: 1.1rem;
    height: 1.1rem;
  }
}

.zhuang-username {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width: 100%;
}